package com.lz.ht.service;

import com.lz.ht.model.Advance;
import com.lz.ht.model.Room;
import com.lz.ht.page.PageModel;
import java.util.List;
import java.util.HashMap;

public interface RoomAdvanceService {

    void add(Advance advance);

    Room findById(Long orgnewsId);

    List<Room> findAll();

    Room findOne(Room room);

    List<Room> findList(Room room);

    List<Room> findPageList(PageModel<Room> page, Room room) throws Exception;

    List<Room> findListByMapLimit(HashMap<String, Object> hashMap, long first, long last);

    long findCount(Room room) throws Exception;

    long findCountByMap(HashMap<String, Object> hashMap);

    List<Room> findPageListByDto(PageModel<Room> page, Room room) throws Exception;

    long findCountByDto(Room room) throws Exception;

}
